package com.printeverywhere.action;

import java.util.ArrayList;
import java.util.List;

import com.opensymphony.xwork2.ActionSupport;

public class SearchAction extends ActionSupport {

	private static final long serialVersionUID = 1L;
		
	String ItemType;
	List<String> categories = new ArrayList<String>();
	
	public String getItemType() {
		return ItemType;
	}

	public void setItemType(String itemType) {
		ItemType = itemType;
	}
		
	public void getcategories(String item) {
	
		System.out.println("In the Categories");
		categories.add("categories 1");
		categories.add("categories 1");
		categories.add("categories 1");
		categories.add("categories 1");
		categories.add("categories 1");
		categories.add("categories 1");
				
	}
}
